package com.bitejiuyeke.job_publish.model;

import com.bitejiuyeke.job_publish.common.PageRequest;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
public class Offer extends PageRequest {
    private Long id;

    private Long userId;

    private Long jobId;

    private Long sendRecordId;

    private Byte state;

    @JsonIgnore
    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    // 投递记录
    private SendRecord sendRecord;

    private Job job;
    private User publisher;

}